package com.yulintu.common;

import com.yulintu.header.Headr;

import java.util.ArrayList;
import java.util.List;

/**
 * @author caomin
 * @date 2017/10/25
 * @说明 包验证
 */
public class PkgHeader {
    private   List<Headr>headrList=new ArrayList<>();

    /**
     * 验证 数据包是否合法的逻辑
     * @return
     */
    public  boolean validate(){
        System.out.println("在此处填充验证包是否合法的逻辑处理");
        return true;
    }
    public PkgHeader setHeadrList(List<Headr> headrList) {
        this.headrList = headrList;
        return this;
    }
}
